//
//  RMMGoogsConfirmHeadView.m
//  Romomo
//
//  Created by puman on 16/10/10.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import "RMMGoogsConfirmHeadView.h"

@implementation RMMGoogsConfirmHeadView
- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = kWhiteColor;
        UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenWideth, kRow)];
        view.backgroundColor = RGBA(248, 249, 250, 1);
        [self addSubview:view];
        UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(15, kRow, kHalf + 5, 44)];
        label.text = @"推荐项目";
        label.textColor = COLORFROMCODE(0x9B9B9B , 1);
        label.font = kFont(13);
        [self addSubview:label];
        
        _selctLabel = [[UILabel alloc] initWithFrame:CGRectMake(label.right + kRow, label.top + 12, kMaric, kMaric)];
        _selctLabel.textColor = kWhiteColor;
        _selctLabel.layer.masksToBounds = YES;
        _selctLabel.layer.cornerRadius = kRow;
        _selctLabel.backgroundColor = kWhiteColor;
        _selctLabel.textAlignment = NSTextAlignmentCenter;
        _selctLabel.font = kFont(13);
        [self addSubview:_selctLabel];
        
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
